package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企标导入数据记录对象 sj_import_record
 * 
 * @author ruoyi
 * @date 2024-01-02
 */
public class SjImportRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 导入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "导入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    /** 新增数量 */
    @Excel(name = "新增数量")
    private Long insertnum;

    /** 更新数量 */
    @Excel(name = "更新数量")
    private Long updatenum;

    /** 导入数量 */
    @Excel(name = "导入数量")
    private Long importnum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setInsertnum(Long insertnum) 
    {
        this.insertnum = insertnum;
    }

    public Long getInsertnum() 
    {
        return insertnum;
    }
    public void setUpdatenum(Long updatenum) 
    {
        this.updatenum = updatenum;
    }

    public Long getUpdatenum() 
    {
        return updatenum;
    }
    public void setImportnum(Long importnum) 
    {
        this.importnum = importnum;
    }

    public Long getImportnum() 
    {
        return importnum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createdate", getCreatedate())
            .append("insertnum", getInsertnum())
            .append("updatenum", getUpdatenum())
            .append("importnum", getImportnum())
            .toString();
    }
}
